package com.xlh.dao.cs;

import com.xlh.pojo.cs.LearningPhase;
import com.xlh.pojo.cs.LearningPhaseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LearningPhaseMapper {
    long countByExample(LearningPhaseExample example);

    int deleteByExample(LearningPhaseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LearningPhase record);

    int insertSelective(LearningPhase record);

    List<LearningPhase> selectByExample(LearningPhaseExample example);

    LearningPhase selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LearningPhase record, @Param("example") LearningPhaseExample example);

    int updateByExample(@Param("record") LearningPhase record, @Param("example") LearningPhaseExample example);

    int updateByPrimaryKeySelective(LearningPhase record);

    int updateByPrimaryKey(LearningPhase record);
}